31 January, 2020

cs506 gdb solution Web Design and Development CS506 GDB Solution 2020

CS506 GDB Solution

Web Design and Development 31-01-2020


CS506 GDB Solution 31-01-2020

CS506 GDB solution



CS506 GDB Topic is :


In general, a typical Java program is dealt with the following kinds of thread:

Main Thread; initial application code is executed.

Worker Thread; time-consuming and background tasks are executed.

Well, Java based smart devices (embedding Java code in smart devices) have revolutionaries the human life. At one side, these devices provide ease of use of technology. But on the other side, their unresponsiveness or delay in response to user's actions may result in human frustration. One of the main reasons is, these devices mostly run on a single Main Thread.


Being a Java developer what do you think, "Use of Worker Threads along with Main Thread will reduce the response delay or increase the work load in Java based Smart Devices?"

Instructions:

Your comment must not be more than 4-5 lines and that must be concise, coherent and to the point comment.

GDB will not get any grade
1): If comment is lengthy and irrelevant.
2): If found copied from other student or from internet material.
3): If posted on MDB or submitted via email within or after due date.
For any queries, please email at cs506@vu.edu.pk



CS506 GDB Solution


CS506 GDB Solution is:

[Updated Solution]
Yes, Use of worker threads along with Main Thread will reduce the response delay, Threads allow utilization of multiprocessor architectures to a greater scale and efficiency.
Threads use very little resources of an operating system in which they are working. That is,
Threads do not need new address space, global data, program code or operating system resources.
Main thread, is responsible for everything that happens onscreen after application starting.
Responsiveness of your application UI that you do not block the UI thread. If you have operations to perform that are not instantaneous, you should make sure to do them in separate worker threads.

CS506 GDB Solution 31-01-2020




Post a Comment

Whatsapp Button works on Mobile Device only

Start typing and press Enter to search